package com.example.nacoscloudconsumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;



@Service
@FeignClient("rabbitMQ")
public interface MqService {
    @RequestMapping( method = RequestMethod.GET, value = "/mq/sendMessage/", consumes = "application/json")
    void sendMessage();
}
